package service.v2;

import java.util.List;

import model.CatVO;
import model.ShowwindowCatVO;
import model.ShowwindowCommentVO;
import model.ShowwindowPraiseVO;
import model.ShowwindowVO;

public interface ShowwindowService {

	List<ShowwindowVO> getIndexList(ShowwindowVO showwindowVO);

	void processImg(List<ShowwindowVO> windowList, String screenwidth, int i);

	int getTotal(ShowwindowVO showwindowVO);

	List<ShowwindowVO> getList(ShowwindowVO showwindowVO);

	int getWindowNumByMember(String member_id);

	int getPraiseNumByMember(String member_id);

	List<ShowwindowCatVO> getWidowCatListByMember(String member_id);

	void processCatImg(List<ShowwindowCatVO> windowCatList, String screenwidth, int i);

	void insertWindowCat(ShowwindowCatVO showwindowCatVO);

	void updateWindowCat(ShowwindowCatVO showwindowCatVO);

	void deleteWindowCat(ShowwindowCatVO showwindowCatVO);

	ShowwindowCatVO getWidowCatById(String cat_id);

	int getGoodnumByWindowCat(String cat_id);

	List<ShowwindowVO> getShowwindowListByWindowCat(ShowwindowVO showwindowVO);

	List<CatVO> getGoodCatListByWindowCat(String cat_id);

	int getShowwindowListByWindowCatTotal(ShowwindowVO showwindowVO);

	ShowwindowVO getWindowById(String window_id);

	int getWindowCatNumByMember(String member_id);

	int getCommentNumByShowwindow(String window_id);

	List<ShowwindowCommentVO> getCommentListByWindow(String window_id);

	int getRecommandTotal(ShowwindowVO showwindowVO);

	List<ShowwindowVO> getRecommandList(ShowwindowVO showwindowVO);

	List<ShowwindowCatVO> getWindowCatList(ShowwindowCatVO showwindowCatVO);

	void updateShowwindow(ShowwindowVO showwindowVO);

	void deleteShowwindow(ShowwindowVO showwindowVO);

	List<ShowwindowCommentVO> getCommentList(ShowwindowVO showwindowVO);

	int checkGoodState(String good_id);

	int checkWindowCat(ShowwindowVO showwindowVO);

	void insertShowwindow(ShowwindowVO showwindowVO);

	ShowwindowVO checkWindowGood(ShowwindowVO showwindowVO);

	void insertComment(ShowwindowCommentVO commentVO);

	ShowwindowPraiseVO checkPraiseByShowwindow(String window_id, String member_id);

	void insertPraise(String showwindow_id, String member_id);

	void removePraise(String showwindow_id, String id);

	ShowwindowCommentVO getCommentById(String comment_id);

	void insertCommentReply(ShowwindowCommentVO commentVO);

	void insertCommentReplyBack(ShowwindowCommentVO commentVO);

	void deleteCommentTop(String comment_id);

	void deleteCommentReply(String comment_id);

	List<ShowwindowPraiseVO> getPraiseListByMember(ShowwindowPraiseVO praiseVO);

	int getPraiseTotalByMember(ShowwindowPraiseVO praiseVO);

	void updateUnreadPraise(ShowwindowPraiseVO praiseVO);

	int getReplyTotalByMember(ShowwindowCommentVO commentVO);

	List<ShowwindowCommentVO> getReplyListByMember(ShowwindowCommentVO commentVO);

	void updateUnreadReply(ShowwindowCommentVO commentVO);

	int selectDzNum(String member_id);

	ShowwindowCatVO getDefaultWindowCat(String member_id);

	void insertDefaultWindowCat(String member_id);
	
	void updataCatWindowListShareTimes(String cat_id);

	void updataWindowDetailShareTimes(String window_id);

	String getcommunityMsg(String member_id);

	void updatePraiseVODelete(String window_id, String id);

	void updateCommentRead(String comment_id);

	void updateCommentReadAll(String member_id);

	void updatePraiseRead(String praise_id);

}
